/**
 * @copyright Copyright (c) 2023 Queclink-C-Library
 * @ingroup common
 * @brief This file is subject to the terms and conditions of the MIT License.
 * For details, please see the LICENSE file or visit the MIT website: https://mit-license.org/
 */

#ifndef QLIBC_ASSERT_H
#define QLIBC_ASSERT_H

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @addtogroup assert
 * @ingroup common
 * @brief Declare by `#include <qlibc/assert.h>`. Provide macro `assert`.
 * @{
 */

#include <qlibc/config.h>

#if (PLATFORM_HAS_ASSERT == 0)
#include <assert.h>
#endif /* PLATFORM_HAS_ASSERT */

/** assert
 * @}
 */

#ifdef __cplusplus
}
#endif

#endif /* QLIBC_ASSERT_H */
